﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_MAS_BorrowTypes
    {
        private int BORROW_TYPE_SEQ;
        private string BORROW_TYPE_NAME;
        private Nullable<int> BGM_SOURCE_SEQ;
        private string BGM_SOURCE_NAME;
        private string CAL_DATE_TYPE;
        private string CAL_DATE_TYPE_NAME;
        private Nullable<int> RETURN_DAY;
        private string IS_TRAVEL;

        private string RECORD_STATUS;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_FIM_MAS_BorrowTypes()
        {

        }

        public M_FIM_MAS_BorrowTypes(
            int BORROW_TYPE_SEQ
            , string BORROW_TYPE_NAME
            , Nullable<int> BGM_SOURCE_SEQ
            , string BGM_SOURCE_NAME
            , string CAL_DATE_TYPE
            , string CAL_DATE_TYPE_NAME
            , Nullable<int> RETURN_DAY
            , string IS_TRAVEL

            , string RECORD_STATUS
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.BORROW_TYPE_SEQ = BORROW_TYPE_SEQ;
            this.BORROW_TYPE_NAME = BORROW_TYPE_NAME;
            this.BGM_SOURCE_SEQ = BGM_SOURCE_SEQ;
            this.BGM_SOURCE_NAME = BGM_SOURCE_NAME;
            this.CAL_DATE_TYPE = CAL_DATE_TYPE;
            this.CAL_DATE_TYPE_NAME = CAL_DATE_TYPE_NAME;
            this.RETURN_DAY = RETURN_DAY;
            this.IS_TRAVEL = IS_TRAVEL;

            this.RECORD_STATUS = RECORD_STATUS;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int borrow_type_seq
        {
            set { BORROW_TYPE_SEQ = value; }
            get { return BORROW_TYPE_SEQ; }
        }

        public string borrow_type_name
        {
            set { BORROW_TYPE_NAME = value; }
            get { return BORROW_TYPE_NAME; }
        }

        public Nullable<int> bgm_source_seq
        {
            set { BGM_SOURCE_SEQ = value; }
            get { return BGM_SOURCE_SEQ; }
        }

        public string bgm_source_name
        {
            set { BGM_SOURCE_NAME = value; }
            get { return BGM_SOURCE_NAME; }
        }

        public string cal_date_type
        {
            set { CAL_DATE_TYPE = value; }
            get { return CAL_DATE_TYPE; }
        }

        public string cal_date_type_name
        {
            set { CAL_DATE_TYPE_NAME = value; }
            get { return CAL_DATE_TYPE_NAME; }
        }

        public Nullable<int> return_day
        {
            set { RETURN_DAY = value; }
            get { return RETURN_DAY; }
        }

        public string is_travel
        {
            set { IS_TRAVEL = value; }
            get { return IS_TRAVEL; }
        }

        //====================================================================

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
